<?php
require_once 'config.inc';
require_once 'lib/mysql.class.php';

$db = array(
        "db_user" => "root",
        "db_pass" => "123456",
        "db_host" => DB_HOST, // Shouldn't need changing
        "db_dbname" => "mysql"
    );
$mysql=new mySQL($db);
//var_dump($mysql->getQueryResultArray( $mysql->query("SELECT SYSDATE() as date, CURDATE()as curdate,NULL as date_null FROM DUAL")));
echo "<pre>";
var_dump($mysql->getTableFields("user"));
echo "</pre>";


?>